package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("协议创建参数")
public class LegalAgreementCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "title参数缺失")
    @ApiModelProperty(value = "")
    private String title;

    @NotNull(message = "contents参数缺失")
    @ApiModelProperty(value = "")
    private String contents;

}
